#include <string>
#include <fstream>
#include <iostream>
#include <cmath>
#include <vector>
using namespace std;
int main(int argc, char const *argv[])
{
    vector<int> v{1,2,3};
    auto p = v.end()-1;
    cout << *p;
    return 0;
}
